package com.fantastic.service.zjs;

import com.fantastic.model.pojo.zjs.SetMeal;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


/**
 * @author: rxx
 * @since: 2024/6/1 12:41
 * @description: 套餐表service层接口
 */
public interface SetMealService {

    /**
     * 查询套餐表信息
     *
     * @return
     */
    List<SetMeal> listMeal(SetMeal setMeal);

    /**
     * 查询单个套餐信息
     *
     * @param mealId
     * @return
     */
    SetMeal getMeal(Integer mealId);

    /**
     * 添加套餐信息
     * @param setMeal
     * @return
     */
    Integer insertMeal(MultipartFile mealFile, SetMeal setMeal);

    /**
     * 修改套餐信息
     *
     * @param setMeal
     * @return
     */
    Integer updateMeal(MultipartFile mealFile,SetMeal setMeal);

    /**
     * 删除套餐信息
     *
     * @param mealId
     * @return
     */
    Integer deleteMeal(Integer mealId);

}
